i = 0
j = 10000
x = 0
while j < 20000:
    x = j * 0.05
    j += x
    i += 1
print("需要%d年才能达到20000的目标"%(i))